package cn.bugstack.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController()
@RequestMapping("/api/v1/test/")
public class TestController {
    /**
     * 测试接口
     * @return 返回测试信息
     */
    @RequestMapping("hello")
    public String hello() {
        return "Hello, this is a test endpoint!";
    }
}
